# Maintainer: SwimmingTiger <hu60.cn@gmail.com>
pkgname=net.winegame.client
pkgver=0.5.7.2
_commit=392a7b1c2b3f2699073ddd450f95fe9d122e4f68
pkgrel=2
epoch=
pkgdesc="开源游戏平台，帮您在UOS/Linux系统中运行Windows游戏"
arch=('x86_64')
url="https://winegame.net/"
license=('GPL3')
groups=()
depends=(
    'python-gobject'
    'python-yaml'
    'python-evdev'
    'python-pillow'
    'python-requests'
    'python-dbus'
    'python-distro'
    'gtk3'
    'glib2'
    'psmisc'
    'cabextract'
    'unzip'
    'p7zip'
    'tar'
    'curl'
    'wget'
    'aria2'
    'xorg-xrandr'
    'gnome-desktop'
    'zenity'
    'webkit2gtk'
    'mesa-demos'
    'wine'
    'vulkan-icd-loader'
    'lib32-vulkan-icd-loader'
    'vulkan-tools'
)
makedepends=('python-setuptools')
checkdepends=()
optdepends=()
provides=("winegame")
conflicts=()
replaces=()
backup=()
options=()
changelog=
source=("${pkgname}::git+https://gitee.com/winegame/lutris.git#commit=${_commit}")
sha512sums=('SKIP')
validpgpkeys=()

build() {
    cd "${srcdir}/${pkgname}"
    python setup.py build
}

package() {
    cd "${srcdir}/${pkgname}"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
